package com.rc.evcharger.mapper.member;

import com.rc.evcharger.common.base.BaseMapper;
import com.rc.evcharger.model.member.MemberInfo;
import com.rc.evcharger.model.member.MemberInfoExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface MemberInfoMapper extends BaseMapper<Long, MemberInfo, MemberInfoExample> {

    MemberInfo selectCardNo(String cardNo, String tenantCode);

    MemberInfo selectEnterpriseMemberByMemberId(@Param("memberId") Long memberId);

    void updateChargeStatus(@Param("chargeStatus") String chargeStatus, @Param("memberId") Long memberId);

    List<Long> listSubMemberByEnterMemberId(@Param("enterMemberId") Long enterMemberId);
}
